package mpcs.model.vo
{
	import mx.collections.ArrayList;

	/**
	 *  封装绑定手机信息
	 * @author zhangzuoqiang
	 */	
	public class MobileVO {
		
		public function MobileVO() {
		}
		
		public function toString():String {
			return "MobileVO [ " + this.mobile
				+ " , " + this.relationship 
				+ " , " + this.status 
				+ " , " + this.belongto 
				+ " , " + this.begintime 
				+ " , " + this.type 
				+ " , " + this.longitude 
				+ " , " + this.latitude 
				+ " ,  " + this.radius
				+ " ,  positions.length = " + this.positions.length
			+ " ]";
		}
		
		public function getMobile():String {
			return this.mobile;
		}
		public function setMobile(mobile:String):void {
			this.mobile = mobile;
		}
		
		public function getRelationship():String {
			return this.relationship;
		}
		public function setRelationship(relationship:String):void {
			this.relationship = relationship;
		}
		
		public function getStatus():String {
			return this.status;
		}
		public function setStatus(status:String):void {
			this.status = status;
		}
		
		public function getBelongto():String {
			return this.belongto;
		}
		public function setBelongto(belongto:String):void {
			this.belongto = belongto;
		}
		
		public function getBegintime():String {
			return this.begintime;
		}
		public function setBegintime(begintime:String):void {
			this.begintime = begintime;
		}
		
		public function getType():String {
			return this.type;
		}
		public function setType(type:String):void {
			this.type = type;
		}
		
		public function getLongitude():String {
			return this.longitude;
		}
		public function setLongitude(longitude:String):void {
			this.longitude = longitude;
		}
		
		public function getLatitude():String {
			return this.latitude;
		}
		public function setLatitude(latitude:String):void {
			this.latitude = latitude;
		}
		
		public function getRadius():String {
			return this.radius;
		}
		public function setRadius(radius:String):void {
			this.radius = radius;
		}
		
		public function getPositions():ArrayList {
			return this.positions;
		}
		public function setPositions(positions:ArrayList):void {
			this.positions = positions;
		}
		
		/**
		 * 添加经纬度数据对象
		 * @param latlng
		 */		
		public function addPosition(latlng:Object):void{
			positions.addItem(latlng);
		}
		
		private var mobile:String = ""; // 手机号码
		private var relationship:String = ""; // 关系
		private var status:String = ""; // 服务状态
		private var belongto:String = ""; // 归属地
		private var begintime:String = ""; // 服务开始时间
		private var type:String = ""; // 类型
		private var longitude:String = ""; // 原点经度
		private var latitude:String = ""; // 原点纬度
		private var radius:String = ""; // 最大偏移距离
		private var positions:ArrayList = new ArrayList();// 位置列表
	}
}